home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / amos / AMOSList-0499.lzh / AMOSLIST / 000084_nobody_Fri Apr 9 16:48:39 1999.msg < prev    next >
Internet Message Format  |  1999-05-01  |  4KB

  1. Received: from onelist.com (pop.onelist.com [209.207.164.159])
  2.     by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id QAA23663
  3.     for <mcox4@osf1.gmu.edu>; Fri, 9 Apr 1999 16:48:39 -0400 (EDT)
  4. Received: (qmail 19782 invoked by alias); 9 Apr 1999 20:49:14 -0000
  5. Received: (qmail 19772 invoked from network); 9 Apr 1999 20:49:13 -0000
  6. Received: from unknown (HELO mago.agonet.it) (195.32.124.10) by pop.onelist.com with SMTP; 9 Apr 1999 20:49:13 -0000
  7. Received: from agonet.it (ghizzo@p126077.agonet.it [195.32.126.77]) by mago.agonet.it (8.8.5/8.8.5) with SMTP id WAA19766 for <amos-list@onelist.com>; Fri, 9 Apr 1999 22:48:12 +0200
  8. From: Pietro Ghizzoni <ghizzo@agonet.it>
  9. To: amos-list@onelist.com
  10. Date: Fri, 09 Apr 1999 22:35:06 +0200
  11. Message-ID: <yam7768.320.1747086176@mail.agonet.it>
  12. In-Reply-To: <yam7764.2353.136641448@mail1.tinet.ie>
  13. X-Mailer: YAM 2.0Preview7 [020] - Amiga Mailer by Marcel Beck - http://www.yam.ch
  14. Organization: Dairymen Soft
  15. Mailing-List: list amos-list@onelist.com; contact amos-list-owner@onelist.com
  16. Delivered-To: mailing list amos-list@onelist.com
  17. Precedence: bulk
  18. List-Unsubscribe: <mailto:amos-list-unsubscribe@ONElist.com>
  19. Reply-to: amos-list@onelist.com
  20. Mime-Version: 1.0
  21. Content-Type: text/plain
  22. Subject: [amos-list] Re: Help......
  23. Status: O
  24. X-Status: 
  25.  
  26. From: Pietro Ghizzoni <ghizzo@agonet.it>
  27.  
  28. Hello Declan
  29.  
  30. On 05-Apr-99, Declan Gorman wrote: [amos-list] Help......
  31.  
  32. > I am having a problem that I cannot seem to get past and am hoping
  33. > someone can help out.
  34. > I am using the GUI Extension V1.75 and my gui has a slide and two
  35. > buttons. The buttons are also used to increment/decrement the slider to
  36. > allow the user more control over single steps.
  37. > Anyway, each gadet executes similar code which I have entered below but
  38. > the problem is that when the slider is selected, the same code seems to
  39. > be executed twice. The two butons only execute it only once. Strange(?)
  40.  
  41. Strange... no... normal :)
  42.  
  43. The last position of the slider is usually reported twice, for this reason
  44. your code is executed twice. Why? Example:
  45.  
  46. if you move the slider from position 1 to 5, the gadtools.library (... and
  47. so Gui Wait ) reports the different positions:
  48.  
  49. 1
  50. 2
  51. 3
  52. 4
  53. 5
  54.  
  55. when you release the mouse button, the slider tell you the final position: 5
  56. For this reason you receive the position 5 two times.
  57.  
  58. If this a problem for you, you've to create a variable wich old the last
  59. slider position. When you receive a new slider position, you can compare it
  60. with the old one.. if it's equal you don't execute nothing.
  61.  
  62.  
  63. -- 
  64.  
  65.  
  66. Bye!
  67.  
  68.  
  69.                                      !!!
  70.                                      o o
  71.    +-----------------------------oOO-(_)-OOo----------------------------+
  72.    |                                                                    |
  73.    |  Pietro Ghizzoni - Dairymen Soft              __  /// Amiga 12OO   |
  74.    |     E-Mail:  ghizzo@agonet.it                 \\\/// 'O3O  5OMhz   |
  75.    |           ICQ 16361472                         \/// 18MB - CD4x    |
  76.    |                                                                    |
  77.    | Amos Development Group Coordinator                 AMIGA RULEZ!    |
  78.    |                                                                    |
  79.    +--------------------------------------------------------------------+
  80.  
  81.  
  82. ------------------------------------------------------------------------
  83. Did you know that we add over 1,000 new e-mail communities every day?
  84. http://www.ONElist.com
  85. Explore a new hobby, discover a new friend, laugh at a new joke!
  86. ------------------------------------------------------------------------
  87. Official AMOS WWW: http://members.xoom.com/AmosFactory/front.html